<div class="am-u-sm-12 widget main-w" >
	<div class="am-u-sm-12">
		<form class="am-form-inline tpl-form-border-form">

			<div class="am-form-group am-u-sm-3 cl-p">

				<div class="am-u-sm-12">
					<select>
						<option value="a">订单状态-不限</option>
						<option value="b">未支付</option>
						<option value="c">已支付</option>
						<option value="d">已取消</option>
					</select>
				</div>
			</div>
			<div class="am-form-group am-u-sm-2 cl-p">
				<div class="am-u-sm-12 cl-p">
					<input type="text"  placeholder="请输入使用人姓名">
				</div>
			</div>
			<div class="am-form-group am-u-sm-2 cl-p">
				<div class="am-u-sm-12">
					<input type="text" placeholder="请输入订单号">
				</div>
			</div>
			<div class="am-form-group am-u-sm-5 cl-p">
				<button type="button" class="am-btn am-btn-sm am-btn-primary am-radius">查询<i class="am-icon-search"></i></button>
			</div>

		</form>
	</div>
	<div style="padding: 10px;" class="am-u-sm-12">
		<div><button style="float: right;" type="button" class="am-btn am-btn-default am-radius am-btn-xs" style="margin-top: -2px;">导出文件</button></div>
		<table width="100%" class="am-table am-table-compact am-table-bordered am-table-radius am-table-striped am-text-truncate tpl-table-black">
			<thead>
			<tr>
				<th>充值单号</th>
				<th>充值时间</th>
				<th>使用人</th>
				<th>资金类型</th>
				<th>金额</th>
				<th>订单状态</th>
				<th>操作</th>

			</tr>
			</thead>
			<tbody>
			{foreach $list as $key => $item}
			<tr class="gradeX">
				<td>

					{$item.recharge_no?:"-"}
				</td>
				<td>{$item.date?:"-"}</td>
				<td>{$item.company_name?:"-"}</td>
				<td>{$item.type==1?'微信':'预充值'}</td>
				<td>{$item.number?:"-"}</td>
				<td>
					{if $item.state==1}
					未完成
					{/if}
					{if $item.state==3}
					完成
					{/if}
					{if $item.state==4}
					已拒绝
					{/if}
				</td>
				<td>
					<div class="tpl-table-black-operation">
						{if $item.state==1&&$item.type==2}
						<a href="/admin/Finance/check_FundsManagement?company_recharge_id={$item.company_recharge_id}" class="">批准</a>
						<a href="/admin/Finance/check_FundsManagement?company_recharge_id={$item.company_recharge_id}&notcheck=1" class="tpl-table-black-operation-del delete-list">不批准</a>
						{/if}
					</div>
				</td>

			</tr>
			{/foreach}
			<!-- more data -->
			</tbody>

		</table>
		<div class="am-u-lg-12 am-cf">

			<div class="am-fr">
				{$pager}
			</div>
		</div>
	</div>

</div>
<script type="text/javascript" src="http://webapi.amap.com/maps?v=1.4.2&key={:config('base.mapkey')}&plugin=AMap.Driving"></script>
<script src="//webapi.amap.com/ui/1.0/main.js?v=1.0.11"></script>